using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN PhongHocNgayNghiEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:25/02/2012 41:11:06</para>
	/// <para>Class Name: PhongHocNgayNghiEntity</para>
	/// <para>Description: ClassPhongHocNgayNghiEntity store data of table PhongHocNgayNghi</para>
	///</summary>

	[DataContract]
	public partial class PhongHocNgayNghiEntity{


		private bool _InternalChangedIsNullPhongHocNgayNghi_ID=true;
		private bool _IsNullPhongHocNgayNghi_ID=true;
		private bool _InternalChangedIsNullPhongHoc_ID=true;
		private bool _IsNullPhongHoc_ID=true;
		private bool _InternalChangedIsNullThu_ID=true;
		private bool _IsNullThu_ID=true;
		private bool _InternalChangedIsNullTietHoc_ID=true;
		private bool _IsNullTietHoc_ID=true;
		private int _PhongHocNgayNghi_ID;
		private int _PhongHoc_ID;
		private int _Thu_ID;
		private int _TietHoc_ID;
		[DataMember]
		public bool IsNullPhongHocNgayNghi_ID{
			get{return _IsNullPhongHocNgayNghi_ID;}
			set{if(!_InternalChangedIsNullPhongHocNgayNghi_ID)_IsNullPhongHocNgayNghi_ID=value;}
		}
		[DataMember]
		public bool IsNullPhongHoc_ID{
			get{return _IsNullPhongHoc_ID;}
			set{if(!_InternalChangedIsNullPhongHoc_ID)_IsNullPhongHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullThu_ID{
			get{return _IsNullThu_ID;}
			set{if(!_InternalChangedIsNullThu_ID)_IsNullThu_ID=value;}
		}
		[DataMember]
		public bool IsNullTietHoc_ID{
			get{return _IsNullTietHoc_ID;}
			set{if(!_InternalChangedIsNullTietHoc_ID)_IsNullTietHoc_ID=value;}
		}
		[DataMember]
		public int PhongHocNgayNghi_ID{
			get{return _PhongHocNgayNghi_ID;}
			set{
				_PhongHocNgayNghi_ID=value;
				if(_PhongHocNgayNghi_ID!=null){
					_IsNullPhongHocNgayNghi_ID=false;
					_InternalChangedIsNullPhongHocNgayNghi_ID=true;
				}
			}
		}
		[DataMember]
		public int PhongHoc_ID{
			get{return _PhongHoc_ID;}
			set{
				_PhongHoc_ID=value;
				if(_PhongHoc_ID!=null){
					_IsNullPhongHoc_ID=false;
					_InternalChangedIsNullPhongHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int Thu_ID{
			get{return _Thu_ID;}
			set{
				_Thu_ID=value;
				if(_Thu_ID!=null){
					_IsNullThu_ID=false;
					_InternalChangedIsNullThu_ID=true;
				}
			}
		}
		[DataMember]
		public int TietHoc_ID{
			get{return _TietHoc_ID;}
			set{
				_TietHoc_ID=value;
				if(_TietHoc_ID!=null){
					_IsNullTietHoc_ID=false;
					_InternalChangedIsNullTietHoc_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END PhongHocNgayNghiEntityBase*****************************************/
	/*****************************************************************************************************/
}

